#include <iostream>

//normal namespace
namespace why
{
//variable declare
int a;
int b = 10;//init

//function declare
void func1();

//function implement
void func2(){
    std::cout << "Hello, here is namespace why inside implement" << std::endl;
}
}//end of namespace why

//why::func1() implement
void why::func1(){
    std::cout << "Hello, here is namespace why outside implement" << std::endl;
}

void test(){
    //use member of namespace why 
    why::func1();
    why::func2();

    std:: cout << why::b << std::endl;
}



int main()
{
    test();
    return 0;
}

